The session manager needs to keep its internal state for the
dialog in sync with ours.
https://bugzilla.gnome.org/show_bug.cgi?id=645485
}]);
},
+ close: function() {
+ ModalDialog.ModalDialog.prototype.close.call(this);
+ DBus.session.emit_signal('/org/gnome/SessionManager/EndSessionDialog',
+ 'org.gnome.SessionManager.EndSessionDialog',
+ 'Closed', '', []);
+ },
+
cancel: function() {
this._stopTimer();
DBus.session.emit_signal('/org/gnome/SessionManager/EndSessionDialog',